export default [
    {
        path: '/addpage',
        name: 'addpage',
        component: () => import ('../views/Addpage.vue')  
    },
    {
        path: '/index',
        name: 'index',
        component: () => import ('../views/Index.vue' ) 
    },

    {
        path: '/',
        redirect: '/tasklist'//重定向
    },
    {
        path: '/:error(.*)',
        component: () => import('../views/NotFound.vue')
    }
]